package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixing.mall.provider.model.domain.GoodsScene;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 商品模块-商品场景关联表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface GoodsSceneMapper extends BaseMapper<GoodsScene> {
    List<GoodsScene> selectByGoodsId(Long id);

    void delAllByGoods(ArrayList<GoodsScene> list);

    List<String> findGoodsSceneByGoodsId(long goodsId);

    void deleteByGoodsId(Long goodsId);
}
